package com.itheima.reggie.service;

import com.itheima.reggie.pojo.Category;
import com.itheima.reggie.pojo.Page;

import java.util.List;

public interface CategoryService {
    void save(Category category);

    Page<Category> findByPage(Integer pageNum, Integer pageSize);

    void deleteById(Long id);

    void update(Category category);

    List<Category> findAll(Integer type);
}
